home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.5)
-
- import sys
- import os
- prefix = os.path.join(sys.prefix, 'tcl')
- if os.path.exists(prefix):
- if not os.environ.has_key('TCL_LIBRARY'):
- for name in os.listdir(prefix):
- if name.startswith('tcl'):
- tcldir = os.path.join(prefix, name)
- if os.path.isdir(tcldir):
- os.environ['TCL_LIBRARY'] = tcldir
-
- os.path.isdir(tcldir)
-
-
- import _tkinter
- ver = str(_tkinter.TCL_VERSION)
- if not os.environ.has_key('TK_LIBRARY'):
- v = os.path.join(prefix, 'tk' + ver)
- if os.path.exists(os.path.join(v, 'tclIndex')):
- os.environ['TK_LIBRARY'] = v
-
-
- if not os.environ.has_key('TIX_LIBRARY'):
- for name in os.listdir(prefix):
- if name.startswith('tix'):
- tixdir = os.path.join(prefix, name)
- if os.path.isdir(tixdir):
- os.environ['TIX_LIBRARY'] = tixdir
-
- os.path.isdir(tixdir)
-
-
-
-